Eclipse Platform
Pre-release 3.0

org.eclipse.ui.texteditor
Class DefaultRangeIndicator

java.lang.Object
  extended byorg.eclipse.jface.text.source.Annotation
      extended byorg.eclipse.ui.texteditor.DefaultRangeIndicator
All Implemented Interfaces:
IAnnotationPresentation

public class DefaultRangeIndicator
extends Annotation
implements IAnnotationPresentation

Specialized annotation to indicate a particular range of text lines.

This class may be instantiated; it is not intended to be subclassed. This class is instantiated automatically by AbstractTextEditor.


Field Summary
 
Fields inherited from class org.eclipse.jface.text.source.Annotation
TYPE_UNKNOWN
 
Constructor Summary
DefaultRangeIndicator()
          Creates a new range indicator.
 
Method Summary
 void paint(GC gc, Canvas canvas, Rectangle bounds)
          Implement this method to draw a graphical representation of this annotation within the given bounds.
 
Methods inherited from class org.eclipse.jface.text.source.Annotation
drawImage, drawImage, getLayer, getText, getType, isMarkedDeleted, isPersistent, markDeleted, setLayer, setText, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.text.source.IAnnotationPresentation
getLayer
 

Constructor Detail

DefaultRangeIndicator

public DefaultRangeIndicator()
Creates a new range indicator.

Method Detail

paint

public void paint(GC gc,
                  Canvas canvas,
                  Rectangle bounds)
Description copied from interface: IAnnotationPresentation
Implement this method to draw a graphical representation of this annotation within the given bounds.

Specified by:
paint in interface IAnnotationPresentation
Overrides:
paint in class Annotation
Parameters:
canvas - the canvas to draw on
bounds - the bounds inside the canvas to draw on

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.